class Company():
    def __init__(self, name, spirit):
        self.name = name
        self.spirit = spirit

    def meeting(self):
        print('daliy meeting time is 5pm')

    def salary(self, a):
        print('monthly salary is 1st')

    def boss(self):
        print('Boss is not in office')

    def vacation(self):
        print('longer work longer vacation')


class Technical(Company):
    # 子类无需定义构造参数，如需定义，
    def __init__(self, name, spirit):
        super().__init__(name, spirit)

    # override parents method
    def salary(self, a):
        print('my averge salary is 30K')

    def office(self, a):
        print('my office is on 5 floor')


Company('Bipo', 'HR resource')
T = Technical('Bipo', 'HR resource')
# T.boss()
# print(T.n)
print(T.name)
T.salary(a=6)
c = Company('b', 'f')
print(c.name)
